<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>宠物领养系统</title>
	<link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <h1>萌宠物语</h1>
        
        <!-- 搜索框 -->
        <input type="text" id="searchInput" placeholder="搜索帖子...">
        <button onclick="searchPosts()">搜索</button>
        
        <!-- 发布帖子 -->
        <div id="postForm">
            <textarea id="postContent" placeholder="理性发言，友善互动..."></textarea>
            <button onclick="publishPost()">发布</button>
        </div>
        
        <!-- 帖子列表 -->
        <div id="posts">
            <!-- 帖子将在这里动态生成 -->
        </div>
    </div>
    
    <script src="scripts.js"></script>
</body>
</html>